package com.woniuxy.entity;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

public class Class {
    double averageScore;
    String[] teacherNames;
    boolean result;
    Teacher teacher;
    List<String> studentName;
    List<Student> students;
    Map<String,String> score;

    public double getAverageScore() {
        return averageScore;
    }

    public void setAverageScore(double averageScore) {
        this.averageScore = averageScore;
    }

    public String[] getTeacherNames() {
        return teacherNames;
    }

    public void setTeacherNames(String[] teacherNames) {
        this.teacherNames = teacherNames;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    public List<String> getStudentName() {
        return studentName;
    }

    public void setStudentName(List<String> studentName) {
        this.studentName = studentName;
    }

    public List<Student> getStudents() {
        return students;
    }

    public void setStudents(List<Student> students) {
        this.students = students;
    }

    public Map<String, String> getScore() {
        return score;
    }

    public void setScore(Map<String, String> score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "Class{" +
                "averageScore=" + averageScore +
                ", teacherNames=" + Arrays.toString(teacherNames) +
                ", result=" + result +
                ", teacher=" + teacher +
                ", studentName=" + studentName +
                ", students=" + students +
                ", score=" + score +
                '}';
    }
}
